require.config({
  baseUrl: "./../../js",
    paths: {
      "swiper":"lib/swiper-3.4.0.min",
      "angular":"lib/angular.min",
      "angular-route":"lib/angular-route",
      "app":"app/app",
      "route":"app/route",
      "domReady":"lib/domready",
      "lunbo":"app/lunbo",
      "home":"app/home",
      "cart":"app/cart",
       "denglu":"app/denglu",
       "zhuce":"app/zhuce",
       "animit":"lib/angular-animate.min"
    },
    //不能模块化的js写法
    shim: {
    'angular': {
          exports: 'angular'
       },
       'angular-route':{
          deps: ["angular"],
          exports: 'ngRoute'
       },
       "swiper":{
       		exports: 'swiper'
       },
        "animit":{
        	deps:["angular"],
       		exports:'ngAnimate'
       }
    }
});
require(["domReady",'angular',"swiper",'angular-route','app','route',"lunbo","home","zhuce","denglu","cart","animit"],function(domReady,angular){
	 domReady(function () {
  		 angular.bootstrap(document, ["DAD"]); /*手工启动angular*/
  });
}) 